package com.ydd.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.io.Serializable;

/**
 * <p>
 *
 * </p>
 *
 * @author zhangxiaojun
 * @since 2023-05-14
 */
@Data
@EqualsAndHashCode(callSuper = false)
@TableName("ydd_advimg")
public class YddAdvImg implements Serializable {

    private static final long serialVersionUID = 1L;

    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    /**
     * 广告图位置，关联广告位id
     */
    @TableField("advimgpos")
    private String advimgpos;

    /**
     * 广告图地址
     */
    @TableField("advimgsrc")
    private String advimgsrc;

    /**
     * 广告图描述
     */
    @TableField("advimgdesc")
    private String advimgdesc;

    /**
     * 广告图链接
     */
    @TableField("advimglink")
    private String advimglink;

    /**
     * 是否为默认数据，null表示不是，1表示是
     */
    @TableField("default_data")
    private String defaultData;

    @TableField(exist = false)
    private String advposname;


}
